[XEN] Fix domctl for changing VCPU affinity.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 21 Sep 2006 18:34:00 +0000 (19:34 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 21 Sep 2006 18:34:00 +0000 (19:34 +0100)
commit97bfffea3cffe29e82de077a994cfbffe7b844f2
tree5f93088eb9e442b18fb5b0b98715585fff97f33d
parentfc99b5876270244feb34240217b0ebbbe935afed
[XEN] Fix domctl for changing VCPU affinity.

Now works for any VCPU, including the caller's VCPU.

By not synchronously pausing the affected VCPU we avoid
any risk of deadlock.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/domctl.c
xen/common/sched_credit.c
xen/common/sched_sedf.c
xen/common/schedule.c
xen/include/xen/sched-if.h
xen/include/xen/sched.h